<template>
  <div class="meunBox">
    <!--底部导航栏-->
    <nav class="footer-nav">
      <ul>
        <li class="cur">
          <a href="javascript:;">
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-zhiku-gaoliang"></use>
            </svg>
            <span>智库</span>
          </a>
        </li>
        <li>
          <a href="javascript:;">
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-jincheng"></use>
            </svg>
            <span>进程</span>
          </a>
        </li>
        <li>
          <a href="javascript:;">
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-yunwei"></use>
            </svg>
            <span>运维</span>
          </a>
        </li>
        <li @click="MyTo()">
          <a href="javascript:;">
            <svg class="icon" aria-hidden="true">
              <use xlink:href="#icon-wode"></use>
            </svg>
            <span>我的</span>
          </a>
        </li>
      </ul>
    </nav>
  </div>
</template>

<script>
	 export default {
	 	data(){
	 		return {
	 			canSee:true,
	 			seen:false,
	 			passWord:null
	 		}
	 	},
    mounted(){
      /*let active = this.$route.name;
      if(active == 'index' || active == 'findBook' || active == 'My'){
        $('.meunBox ul li').removeClass('OnActiveClick');
        $('.meunBox .'+active+'').addClass('OnActiveClick');
        $('.meunBox .'+active+' img').attr('src',require('@/assets/icon/'+active+'_active.png'));
      }
      $('body').on('click','.meunBox ul li',function () {
        if($(this).hasClass('OnActiveClick')){
          $('.meunBox').css('display','block');
        }else {
          $('.meunBox').css('display','none');
        }
      })*/
    },
	 	methods:{
      MyTo:function () {
        this.$router.push({path: 'my'});
      }
     /* indexTo:function () {
        this.$router.push({path: 'index'});
      },
      findBookTo:function () {
        this.$router.push({path: 'findBook'});
      },
      MyTo:function () {
        this.$router.push({path: 'My'});
      },*/
	 	}
	 }
</script>

<style lang="stylus" rel="stylesheet/stylus">
  /*@import "../stylus/meta.styl";
  @import "./nav.styl";*/
</style>
